package com.hfkf.javaoop;

import java.util.Scanner;

/**
 * @Author MDD
 * @Description
 * @Version
 * @Date
 **/
public class TestUserControl {
    public static void main(String[] args) {
        UserControl revamp = new UserControl();

        Scanner sc = new Scanner(System.in);




        System.out.print("请输入用户名:");
        revamp.name = sc.next();
        System.out.print("请输入密码：");
        revamp.password = sc.nextInt();
        revamp.enter();
        int newPassword;
        newPassword = sc.nextInt();
        System.out.println("新密码：" + newPassword);


    }
}
